package com.gyc.datastructure.test;

/**
 * @author gyc
 * @date 2017/12/29
 */
public class Solutionone {
    public int RectCover(int target) {
        if(target==1){
            return 1;
        }else if(target==2){
            return 2;
        }else {
            return RectCover(target-1)+RectCover(target-2);
        }
    }
}
